package com.codeOfDoom.Sets.SetsCard
{
	public class Card implements ICard
	{
		private var _number:int;
		private var _color:String;
		private var _shape:String;
		private var _shading:String;
		private var _isReplaceCard:Boolean;
		public function Card(number:int, color:String, shape:String, shading:String )
		{
			_number = number;
			_color = color;
			_shape = shape;
			_shading = shading;
			_isReplaceCard=false;
		}
		public function get isReplaceCard():Boolean{
			return _isReplaceCard;
		}
		public function set isReplaceCard(isReplaceCard:Boolean):void{
			_isReplaceCard = isReplaceCard;
		}
		public function get shading():String{
			return _shading;
		}
		
		public function get shape():String{
			return _shape;
		}
		public function get color():String{
			return _color;
		}
		public function get number():int{
			return _number;
		}
		
		public function toString():String{
			return _number + " : " +_shape+ " : " + _color + " : " + _shading;
		}
		
		public function getFileNameForCard():String{
			return _color.charAt(0)+_shape.charAt(0)+_shading.charAt(0)+".png";
		}

	}
}